body {
  background-color: #f5f6f8;
  
}
html{
  font-size: 10mm;
}
header {
  width: 100vw;
  height: 1.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  > img {
    width: 32px;
    height: 32px;
  }
  > span {
    font-size: 22px;
    font-weight: bolder;
  }
}

main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  > .header {
    width: 94%;
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
   
    > img {
      width: 80px;
      height: 80px;
      border-radius: 50%;
      background:#f5f6f8 ;
    }
    > .headshow {
      padding: 20px 0;
      >label{
        font-size: 18px;
        border: 1px solid #88929b;
        border: none;
        width: 60px;
        margin: 0px 10px;
        padding: 8px 12px;
        border-radius: 5px;
        text-align: center;
        color: #636a6f;
        list-style: none;
        background-color: #fff;
      }
      > input {
        font-size: 18px;
        border: 1px solid #88929b;
        border: none;
        width: 60px;
        margin: 0px 10px;
        padding: 8px 12px;
        border-radius: 5px;
        text-align: center;
        color: #636a6f;
        list-style: none;
      }
    }
    > .headdown {
      opacity: 0;
    }
  }

  > .vip {
    width: 94%;
    background: linear-gradient(to right, #f5603a, #fde479);
    display: flex;
    justify-content: space-around;
    align-items: center;
    font-size: 20px;
    padding: 8px 0;
    border-radius: 10px;
    margin-top: 20px;

    > div:nth-of-type(1) {
      width: 60%;
      display: flex;
      justify-content: start;
      align-items: center;
      padding-left: 16px;
      color: #fff;

      > img {
        width: 40px;
        height: 40px;
        margin-right: 10px;
      }
    }
    > div:nth-of-type(2) {
      width: 40%;
      display: flex;
      justify-content: end;
      padding-right: 20px;
      color: #f5603a;
      font-weight: bolder;
    }
  }

  > .box {
    width: 94%;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    font-size: 18px;
    padding: 8px 18px;
    border-radius: 10px;
    margin-top: 12px;
    > span:nth-of-type(1) {
      color: #8b959c;
      font-weight: bolder;
    }
    > div {
      display: flex;
      justify-content: space-between;
      margin-top: 10px;
      > div {
        color: #8b959c;
        font-size: 18px;
        > span {
          padding: 0 4px;
        }
        > input {
          padding: 0 4px;
          border: none;
          text-align: end;
          color: #8b959c;
          font-size: 18px;
        
        }
      }
    }
  }

  >.background{
    z-index: -5;
    width: 100vw;
    height: 100vh;
    position: fixed;
    background-color: #8b959c;
    opacity: 0;
    
  }

  >.changenickname{
    z-index: -5;
    opacity: 0;
    position: fixed;
    width: 86vw;
    background-color: #fff;
    display: flex;
    justify-content: end;
    
    flex-direction: column;
    padding: 20px;
    >span{
      font-size: 22px;
      font-weight: bold;
      
    }
    >div:nth-of-type(1){
      border-bottom: 3px solid #66A4EB;
     
      padding-top: 20px;
     
      font-size: 20px;
      color: #8b959c;
      >input{
        border: none;
        font-size: larger;
        padding-left: 10px;
      }
    }
    >div:nth-of-type(2){
      display: flex;
      justify-content: end;
      >input{
        border: none;
        padding-top: 10px;
        width: 76px;
      
      }
      >input:nth-of-type(2){
        border: none;
        padding-top: 10px;
        width: 20px;
       
      }
      >span{
        padding-top: 10px;
      }
    }
    >button{
     right: 0px;
     border: none;
     background: none;
     font-size: 18px;
     color: #66A4EB;
     font-weight: bold;
     padding-top: 20px;
     align-self: flex-end;
    }
  }

  >.showchangenickname{
    z-index: 5;
    opacity: 1;
  }
  >.showbackground{
    z-index: 5;
    opacity: .4;
  }

}
